package com.assets.bean;

import androidx.room.ColumnInfo;

import com.assets.room.dao.ReturnsDao;
import com.assets.room.entity.Returns;
import com.assets.room.entity.Worker;

import java.util.Date;
import java.util.List;


public class InventoryDataBean {


    private List<DeptListDTO> deptList;

    private List<UserListDTO> userList;

    private List<AssetListDTO> assetList;

    private List<TypeListDTO> typeList;

    private List<CheckListDTO> checkList;

    private List<PlaceListDTO> placeList;

    private List<CheckDataListDTO> checkDataList;

    private List<ReceivesListDTO> receivesList;

    private List<ReceivesDetailDTO> receivesDetailList;

    private List<ReceivesReapplyDTO> receivesReapplyList;

    private List<ReturnsDTO> returnsList;

    private List<WorkerDTO> workerList;

    public List<WorkerDTO> getWorkerList() {
        return workerList;
    }

    public void setWorkerList(List<WorkerDTO> workerList) {
        this.workerList = workerList;
    }

    private Integer status;

    public List<ReturnsDTO> getReturnsList() {
        return returnsList;
    }

    public void setReturnsList(List<ReturnsDTO> returnsList) {
        this.returnsList = returnsList;
    }

    public InventoryDataBean() {
    }

    public InventoryDataBean(List<DeptListDTO> deptList, List<UserListDTO> userList,
                             List<AssetListDTO> assetList, List<TypeListDTO> typeList,
                             List<CheckListDTO> checkList, List<PlaceListDTO> placeList,
                             List<CheckDataListDTO> checkDataList, List<ReceivesListDTO> receivesList,
                             List<ReceivesDetailDTO> receivesDetailList,List<ReceivesReapplyDTO> receivesReapplyList,
                             Integer status) {
        this.deptList = deptList;
        this.userList = userList;
        this.assetList = assetList;
        this.typeList = typeList;
        this.checkList = checkList;
        this.placeList = placeList;
        this.checkDataList = checkDataList;
        this.receivesList = receivesList;
        this.receivesDetailList = receivesDetailList;
        this.receivesReapplyList = receivesReapplyList;
        this.status = status;
    }



    public List<ReceivesReapplyDTO> getReceivesReapplyList() {
        return receivesReapplyList;
    }

    public void setReceivesReapplyList(List<ReceivesReapplyDTO> receivesReapplyList) {
        this.receivesReapplyList = receivesReapplyList;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

//    public Integer getState() {
//        return status;
//    }
//
//    public void setState(Integer status) {
//        this.status = status;
//    }

    public List<ReceivesListDTO> getReceivesList() {
        return receivesList;
    }

    public void setReceivesList(List<ReceivesListDTO> receivesList) {
        this.receivesList = receivesList;
    }

    public List<ReceivesDetailDTO> getReceivesDetailList() {
        return receivesDetailList;
    }

    public void setReceivesDetailList(List<ReceivesDetailDTO> receivesDetailList) {
        this.receivesDetailList = receivesDetailList;
    }

    public List<CheckDataListDTO> getCheckDataList() {
        return checkDataList;
    }

    public void setCheckDataList(List<CheckDataListDTO> checkDataList) {
        this.checkDataList = checkDataList;
    }

    public List<PlaceListDTO> getPlaceList() {
        return placeList;
    }

    public void setPlaceList(List<PlaceListDTO> placeList) {
        this.placeList = placeList;
    }

    public List<CheckListDTO> getCheckList() {
        return checkList;
    }

    public void setCheckList(List<CheckListDTO> checkList) {
        this.checkList = checkList;
    }

    public List<TypeListDTO> getTypeList() {
        return typeList;
    }

    public void setTypeList(List<TypeListDTO> typeList) {
        this.typeList = typeList;
    }

    public List<DeptListDTO> getDeptList() {
        return deptList;
    }

    public void setDeptList(List<DeptListDTO> deptList) {
        this.deptList = deptList;
    }

    public List<UserListDTO> getUserList() {
        return userList;
    }

    public void setUserList(List<UserListDTO> userList) {
        this.userList = userList;
    }

    public List<AssetListDTO> getAssetList() {
        return assetList;
    }

    public void setAssetList(List<AssetListDTO> assetList) {
        this.assetList = assetList;
    }

    @Override
    public String toString() {
        return "InventoryDataBean{" +
                "deptList=" + deptList +
                ", userList=" + userList +
                ", assetList=" + assetList +
                '}';
    }

    public class WorkerDTO {
        private Long workerId;

        /**
         * 姓名
         */
        private String name;

        /**
         * 性别（1：男 2：女）
         */
        private String sex;

        /**
         * 电话
         */
        private String phone;

        /**
         * 出生日期
         */
        private String birthday;

        /**
         * 邮箱
         */
        private String email;

        /**
         * 职位
         */
        private String post;

        /**
         * 部门
         */
        private String dept;

        /**
         * 股室类型
         */
        private String division;

        /**
         * 入职时间
         */
        private String createtime;

        /**
         * 是否能登录
         */
        private String islogin;

        /**
         * 机构
         */
        private String company;

        /**
         * 创建人
         */
        private String createuser;

        public Long getWorkerId() {
            return workerId;
        }

        public void setWorkerId(Long workerId) {
            this.workerId = workerId;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getSex() {
            return sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getBirthday() {
            return birthday;
        }

        public void setBirthday(String birthday) {
            this.birthday = birthday;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getPost() {
            return post;
        }

        public void setPost(String post) {
            this.post = post;
        }

        public String getDept() {
            return dept;
        }

        public void setDept(String dept) {
            this.dept = dept;
        }

        public String getDivision() {
            return division;
        }

        public void setDivision(String division) {
            this.division = division;
        }

        public String getCreatetime() {
            return createtime;
        }

        public void setCreatetime(String createtime) {
            this.createtime = createtime;
        }

        public String getIslogin() {
            return islogin;
        }

        public void setIslogin(String islogin) {
            this.islogin = islogin;
        }

        public String getCompany() {
            return company;
        }

        public void setCompany(String company) {
            this.company = company;
        }

        public String getCreateuser() {
            return createuser;
        }

        public void setCreateuser(String createuser) {
            this.createuser = createuser;
        }
    }

    public class ReturnsDTO {


        private Long returnsId;

        /**
         * 归还id
         */

        private String receivesId;

        /**
         * 资产编号
         */

        private String assetNumber;

        /**
         * 原所属机构
         */

        private String company;

        /**
         * 原管理部门
         */

        private String deptId;

        /**
         * 原使用部门
         */

        private String useDept;

        /**
         * 原存放地点
         */
        private String place;

        /**
         * 原管理人
         */
        private String userId;

        /**
         * 归还时间
         */
        private String rdate;

        /**
         * 操作员
         */
        private String operator;

        /**
         * 归还类别
         */
        private String type;

        /**
         * 现管理部门
         */
        private String ndept;

        /**
         * 现管理人
         */
        private String nuser;

        /**
         * 现所属机构
         */
        private String ncompany;

        /**
         * 现使用部门
         */
        private String nuseDept;

        /**
         * 现存放地点
         */
        private String nplace;

        /**
         * 状态
         */
        private String status;

        /**
         * 申请时间
         */
        private String date;

        public Long getReturnsId() {
            return returnsId;
        }

        public void setReturnsId(Long returnsId) {
            this.returnsId = returnsId;
        }

        public String getReceivesId() {
            return receivesId;
        }

        public void setReceivesId(String receivesId) {
            this.receivesId = receivesId;
        }

        public String getAssetNumber() {
            return assetNumber;
        }

        public void setAssetNumber(String assetNumber) {
            this.assetNumber = assetNumber;
        }

        public String getCompany() {
            return company;
        }

        public void setCompany(String company) {
            this.company = company;
        }

        public String getDeptId() {
            return deptId;
        }

        public void setDeptId(String deptId) {
            this.deptId = deptId;
        }

        public String getUseDept() {
            return useDept;
        }

        public void setUseDept(String useDept) {
            this.useDept = useDept;
        }

        public String getPlace() {
            return place;
        }

        public void setPlace(String place) {
            this.place = place;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getRdate() {
            return rdate;
        }

        public void setRdate(String rdate) {
            this.rdate = rdate;
        }

        public String getOperator() {
            return operator;
        }

        public void setOperator(String operator) {
            this.operator = operator;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getNdept() {
            return ndept;
        }

        public void setNdept(String ndept) {
            this.ndept = ndept;
        }

        public String getNuser() {
            return nuser;
        }

        public void setNuser(String nuser) {
            this.nuser = nuser;
        }

        public String getNcompany() {
            return ncompany;
        }

        public void setNcompany(String ncompany) {
            this.ncompany = ncompany;
        }

        public String getNuseDept() {
            return nuseDept;
        }

        public void setNuseDept(String nuseDept) {
            this.nuseDept = nuseDept;
        }

        public String getNplace() {
            return nplace;
        }

        public void setNplace(String nplace) {
            this.nplace = nplace;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }
    }


    public class ReceivesReapplyDTO {

        private Integer id;

        private String isaudit;

        private String isput;

        private String name;

        private String num;

        private String place;

        private String receivesId;

        private String sum;

        private String unaudit;

        private String user;

        public ReceivesReapplyDTO() {
        }

        public ReceivesReapplyDTO(Integer id, String isaudit, String isput, String name, String num, String place, String receivesId, String sum, String unaudit, String user) {
            this.id = id;
            this.isaudit = isaudit;
            this.isput = isput;
            this.name = name;
            this.num = num;
            this.place = place;
            this.receivesId = receivesId;
            this.sum = sum;
            this.unaudit = unaudit;
            this.user = user;
        }

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public String getIsaudit() {
            return isaudit;
        }

        public void setIsaudit(String isaudit) {
            this.isaudit = isaudit;
        }

        public String getIsput() {
            return isput;
        }

        public void setIsput(String isput) {
            this.isput = isput;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getNum() {
            return num;
        }

        public void setNum(String num) {
            this.num = num;
        }

        public String getPlace() {
            return place;
        }

        public void setPlace(String place) {
            this.place = place;
        }

        public String getReceivesId() {
            return receivesId;
        }

        public void setReceivesId(String receivesId) {
            this.receivesId = receivesId;
        }

        public String getSum() {
            return sum;
        }

        public void setSum(String sum) {
            this.sum = sum;
        }

        public String getUnaudit() {
            return unaudit;
        }

        public void setUnaudit(String unaudit) {
            this.unaudit = unaudit;
        }

        public String getUser() {
            return user;
        }

        public void setUser(String user) {
            this.user = user;
        }

        @Override
        public String toString() {
            return "ReceivesReapplyDTO{" +
                    "id=" + id +
                    ", isaudit='" + isaudit + '\'' +
                    ", isput='" + isput + '\'' +
                    ", name='" + name + '\'' +
                    ", num='" + num + '\'' +
                    ", place='" + place + '\'' +
                    ", receivesId='" + receivesId + '\'' +
                    ", sum='" + sum + '\'' +
                    ", unaudit='" + unaudit + '\'' +
                    ", user='" + user + '\'' +
                    '}';
        }
    }

    public class ReceivesDetailDTO {

        private String assetId;

        private String isreturn;

        private String receivesDetailId;

        private String receivesId;

        public ReceivesDetailDTO(String assetId, String isreturn, String receivesDetailId, String receivesId) {
            this.assetId = assetId;
            this.isreturn = isreturn;
            this.receivesDetailId = receivesDetailId;
            this.receivesId = receivesId;
        }

        public ReceivesDetailDTO() {
        }

        public String getAssetId() {
            return assetId;
        }

        public void setAssetId(String assetId) {
            this.assetId = assetId;
        }

        public String getIsreturn() {
            return isreturn;
        }

        public void setIsreturn(String isreturn) {
            this.isreturn = isreturn;
        }

        public String getReceivesDetailId() {
            return receivesDetailId;
        }

        public void setReceivesDetailId(String receivesDetailId) {
            this.receivesDetailId = receivesDetailId;
        }

        public String getReceivesId() {
            return receivesId;
        }

        public void setReceivesId(String receivesId) {
            this.receivesId = receivesId;
        }

        @Override
        public String toString() {
            return "ReceivesDetailDTO{" +
                    "assetId='" + assetId + '\'' +
                    ", isreturn='" + isreturn + '\'' +
                    ", receivesDetailId='" + receivesDetailId + '\'' +
                    ", receivesId='" + receivesId + '\'' +
                    '}';
        }
    }

    public class ReceivesListDTO {

        private String receivesId;

        private String receivesDept;

        private String receivesUser;

        private String reapplyDate;

        private String receivesRemark;

        private String status;

        private String receivesDate;

        private String isreturn;

        private String text;

        private String place;

        private String company;

        private String division;

        private String createuser;

        public ReceivesListDTO() {
        }

        public ReceivesListDTO(String receivesId, String receivesDept, String receivesUser, String reapplyDate, String receivesRemark, String status, String receivesDate, String isreturn, String text, String place, String company, String division, String createuser) {
            this.receivesId = receivesId;
            this.receivesDept = receivesDept;
            this.receivesUser = receivesUser;
            this.reapplyDate = reapplyDate;
            this.receivesRemark = receivesRemark;
            this.status = status;
            this.receivesDate = receivesDate;
            this.isreturn = isreturn;
            this.text = text;
            this.place = place;
            this.company = company;
            this.division = division;
            this.createuser = createuser;
        }

        public String getReceivesId() {
            return receivesId;
        }

        public void setReceivesId(String receivesId) {
            this.receivesId = receivesId;
        }

        public String getReceivesDept() {
            return receivesDept;
        }

        public void setReceivesDept(String receivesDept) {
            this.receivesDept = receivesDept;
        }

        public String getReceivesUser() {
            return receivesUser;
        }

        public void setReceivesUser(String receivesUser) {
            this.receivesUser = receivesUser;
        }

        public String getReapplyDate() {
            return reapplyDate;
        }

        public void setReapplyDate(String reapplyDate) {
            this.reapplyDate = reapplyDate;
        }

        public String getReceivesRemark() {
            return receivesRemark;
        }

        public void setReceivesRemark(String receivesRemark) {
            this.receivesRemark = receivesRemark;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getReceivesDate() {
            return receivesDate;
        }

        public void setReceivesDate(String receivesDate) {
            this.receivesDate = receivesDate;
        }

        public String getIsreturn() {
            return isreturn;
        }

        public void setIsreturn(String isreturn) {
            this.isreturn = isreturn;
        }

        public String getText() {
            return text;
        }

        public void setText(String text) {
            this.text = text;
        }

        public String getPlace() {
            return place;
        }

        public void setPlace(String place) {
            this.place = place;
        }

        public String getCompany() {
            return company;
        }

        public void setCompany(String company) {
            this.company = company;
        }

        public String getDivision() {
            return division;
        }

        public void setDivision(String division) {
            this.division = division;
        }

        public String getCreateuser() {
            return createuser;
        }

        public void setCreateuser(String createuser) {
            this.createuser = createuser;
        }

        @Override
        public String toString() {
            return "ReceivesListDTO{" +
                    "receivesId='" + receivesId + '\'' +
                    ", receivesDept='" + receivesDept + '\'' +
                    ", receivesUser='" + receivesUser + '\'' +
                    ", reapplyDate='" + reapplyDate + '\'' +
                    ", receivesRemark='" + receivesRemark + '\'' +
                    ", status='" + status + '\'' +
                    ", receivesDate='" + receivesDate + '\'' +
                    ", isreturn='" + isreturn + '\'' +
                    ", text='" + text + '\'' +
                    ", place='" + place + '\'' +
                    ", company='" + company + '\'' +
                    ", division='" + division + '\'' +
                    ", createuser='" + createuser + '\'' +
                    '}';
        }
    }


    public class DeptListDTO {

        private String createTime;
        private String createUser;
        private String deptId;
        private String description;
        private String fullName;
        private String pid;
        private String pids;
        private String simpleName;
        private String sort;
        private String updateTime;
        private String updateUser;
//        private Integer version;

        public DeptListDTO() {
            System.out.println("xxxx");
        }

        public DeptListDTO(String createTime, String createUser, String deptId, String description, String fullName, String pid, String pids, String simpleName, String sort, String updateTime, String updateUser, Integer version) {
            this.createTime = createTime;
            this.createUser = createUser;
            this.deptId = deptId;
            this.description = description;
            this.fullName = fullName;
            this.pid = pid;
            this.pids = pids;
            this.simpleName = simpleName;
            this.sort = sort;
            this.updateTime = updateTime;
            this.updateUser = updateUser;
//            this.version = version;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            if (createTime.isEmpty()) {
                this.createTime = createTime;
            }else {
                this.createTime = "";
            }

        }

        public String getCreateUser() {
            return createUser;
        }

        public void setCreateUser(String createUser) {
            this.createUser = createUser;
        }

        public String getDeptId() {
            return deptId;
        }

        public void setDeptId(String deptId) {
            if (deptId != null && !"".equals(deptId)) {
                this.deptId = deptId;
            }
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getFullName() {
            return fullName;
        }

        public void setFullName(String fullName) {
            this.fullName = fullName;
        }

        public String getPid() {

                return pid;
        }

        public void setPid(String pid) {
            if (pid != null && "".equals(pid)) {
                this.pid = pid;
            }
        }

        public String getPids() {
            return pids;
        }

        public void setPids(String pids) {
            this.pids = pids;
        }

        public String getSimpleName() {
            return simpleName;
        }

        public void setSimpleName(String simpleName) {
            this.simpleName = simpleName;
        }

        public String getSort() {
                return sort;
        }

        public void setSort(String sort) {
            if (sort != null && !"".equals(sort)) {
                this.sort = sort;
            }
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public String getUpdateUser() {
            return updateUser;
        }

        public void setUpdateUser(String updateUser) {
            this.updateUser = updateUser;
        }

//        public Integer getVersion() {
//            if (version != null && !version.equals("")) {
//                return version;
//            }else {
//                return 0;
//            }
//        }
//
//        public void setVersion(Integer version) {
//            if (version != null && !version.equals("")) {
//                this.version = version;
//            }else {
//                this.version = 0;
//            }
//
//        }

        @Override
        public String toString() {
            return "DeptListDTO{" +
                    "createTime='" + createTime + '\'' +
                    ", createUser='" + createUser + '\'' +
                    ", deptId=" + deptId +
                    ", description='" + description + '\'' +
                    ", fullName='" + fullName + '\'' +
                    ", pid=" + pid +
                    ", pids='" + pids + '\'' +
                    ", simpleName='" + simpleName + '\'' +
                    ", sort=" + sort +
                    ", updateTime='" + updateTime + '\'' +
                    ", updateUser='" + updateUser + '\'' +
//                    ", version=" + version +
                    '}';
        }
    }

    public static class CheckDataListDTO {

        private String assetName;
        private String assetNumber;
        private Long checkDataId;
        private String checkDetailId;
        private String checkFlag;
        private String checkId;
        private String checkResult;
        private String company;
        private String dept;
        private String division;
        private String images;
        private String lostDept;
        private String model;
        private String place;
        private String surplusDept;
        private String text;
        private String type;
        private String video;
        private String voice;

        public CheckDataListDTO() {
        }

        public CheckDataListDTO(String assetName, String assetNumber, Long checkDataId, String checkDetailId, String checkFlag, String checkId, String checkResult, String company, String dept, String division, String images, String lostDept, String model, String place, String surplusDept, String text, String type, String video, String voice) {
            this.assetName = assetName;
            this.assetNumber = assetNumber;
            this.checkDataId = checkDataId;
            this.checkDetailId = checkDetailId;
            this.checkFlag = checkFlag;
            this.checkId = checkId;
            this.checkResult = checkResult;
            this.company = company;
            this.dept = dept;
            this.division = division;
            this.images = images;
            this.lostDept = lostDept;
            this.model = model;
            this.place = place;
            this.surplusDept = surplusDept;
            this.text = text;
            this.type = type;
            this.video = video;
            this.voice = voice;
        }

        public String getAssetName() {
            return assetName;
        }

        public void setAssetName(String assetName) {
            this.assetName = assetName;
        }

        public String getAssetNumber() {
            return assetNumber;
        }

        public void setAssetNumber(String assetNumber) {
            this.assetNumber = assetNumber;
        }

        public Long getCheckDataId() {
            return checkDataId;
        }

        public void setCheckDataId(Long checkDataId) {
            this.checkDataId = checkDataId;
        }

        public String getCheckDetailId() {
            return checkDetailId;
        }

        public void setCheckDetailId(String checkDetailId) {
            this.checkDetailId = checkDetailId;
        }

        public String getCheckFlag() {
            return checkFlag;
        }

        public void setCheckFlag(String checkFlag) {
            this.checkFlag = checkFlag;
        }

        public String getCheckId() {
            return checkId;
        }

        public void setCheckId(String checkId) {
            this.checkId = checkId;
        }

        public String getCheckResult() {
            return checkResult;
        }

        public void setCheckResult(String checkResult) {
            this.checkResult = checkResult;
        }

        public String getCompany() {
            return company;
        }

        public void setCompany(String company) {
            this.company = company;
        }

        public String getDept() {
            return dept;
        }

        public void setDept(String dept) {
            this.dept = dept;
        }

        public String getDivision() {
            return division;
        }

        public void setDivision(String division) {
            this.division = division;
        }

        public String getImages() {
            return images;
        }

        public void setImages(String images) {
            this.images = images;
        }

        public String getLostDept() {
            return lostDept;
        }

        public void setLostDept(String lostDept) {
            this.lostDept = lostDept;
        }

        public String getModel() {
            return model;
        }

        public void setModel(String model) {
            this.model = model;
        }

        public String getPlace() {
            return place;
        }

        public void setPlace(String place) {
            this.place = place;
        }

        public String getSurplusDept() {
            return surplusDept;
        }

        public void setSurplusDept(String surplusDept) {
            this.surplusDept = surplusDept;
        }

        public String getText() {
            return text;
        }

        public void setText(String text) {
            this.text = text;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getVideo() {
            return video;
        }

        public void setVideo(String video) {
            this.video = video;
        }

        public String getVoice() {
            return voice;
        }

        public void setVoice(String voice) {
            this.voice = voice;
        }
    }

    public static class PlaceListDTO {

        private String big;
        private Integer id;
        private String name;
        private String pid;
        private String remark;

        public PlaceListDTO() {
        }

        public PlaceListDTO(String big, Integer id, String name, String pid, String remark) {
            this.big = big;
            this.id = id;
            this.name = name;
            this.pid = pid;
            this.remark = remark;
        }

        public String getBig() {
            return big;
        }

        public void setBig(String big) {
            this.big = big;
        }

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPid() {
            return pid;
        }

        public void setPid(String pid) {
            this.pid = pid;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }
    }

    public static class CheckListDTO {



        private String checkDate;
        private String checkFlag;
        private Long checkId;
        private String concreteRange;
        private String createDate;
        private String createUser;
        private String place;
        private String planRange;
        private String remark;
        private String status;

        public CheckListDTO() {
        }

        public CheckListDTO(String checkDate, String checkFlag, Long checkId, String concreteRange, String createDate, String createUser, String place, String planRange, String remark, String status) {
            this.checkDate = checkDate;
            this.checkFlag = checkFlag;
            this.checkId = checkId;
            this.concreteRange = concreteRange;
            this.createDate = createDate;
            this.createUser = createUser;
            this.place = place;
            this.planRange = planRange;
            this.remark = remark;
            this.status = status;
        }

        public String getCheckDate() {
            return checkDate;
        }

        public void setCheckDate(String checkDate) {
            this.checkDate = checkDate;
        }

        public String getCheckFlag() {
            return checkFlag;
        }

        public void setCheckFlag(String checkFlag) {
            this.checkFlag = checkFlag;
        }

        public Long getCheckId() {
            return checkId;
        }

        public void setCheckId(Long checkId) {
            this.checkId = checkId;
        }

        public String getConcreteRange() {
            return concreteRange;
        }

        public void setConcreteRange(String concreteRange) {
            this.concreteRange = concreteRange;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getCreateUser() {
            return createUser;
        }

        public void setCreateUser(String createUser) {
            this.createUser = createUser;
        }

        public String getPlace() {
            return place;
        }

        public void setPlace(String place) {
            this.place = place;
        }

        public String getPlanRange() {
            return planRange;
        }

        public void setPlanRange(String planRange) {
            this.planRange = planRange;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }
    }

    public static class TypeListDTO {


        private String id;
        private String name;
        private String pid;
        private String remark;
        private String typenum;

        public TypeListDTO() {
        }

        public TypeListDTO(String id, String name, String pid, String remark, String typenum) {
            this.id = id;
            this.name = name;
            this.pid = pid;
            this.remark = remark;
            this.typenum = typenum;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPid() {
            return pid;
        }

        public void setPid(String pid) {
            this.pid = pid;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getTypenum() {
            return typenum;
        }

        public void setTypenum(String typenum) {
            this.typenum = typenum;
        }
    }

    public class UserListDTO {
        private String account;
        private String avatar;
        private String birthday;
        private String createTime;
        private String createUser;
        private String data;
        private String deptId;
        private String email;
        private String name;
        private String password;
        private String phone;
        private String roleId;
        private String salt;
        private String sex;
        private String status;
        private String updateTime;
        private String updateUser;
        private String userId;
//        private Integer version;

        public UserListDTO() {
        }

        public UserListDTO(String account, String avatar, String birthday, String createTime, String createUser, String data, String deptId, String email, String name, String password, String phone, String roleId, String salt, String sex, String status, String updateTime, String updateUser, String userId, Integer version) {
            this.account = account;
            this.avatar = avatar;
            this.birthday = birthday;
            this.createTime = createTime;
            this.createUser = createUser;
            this.data = data;
            this.deptId = deptId;
            this.email = email;
            this.name = name;
            this.password = password;
            this.phone = phone;
            this.roleId = roleId;
            this.salt = salt;
            this.sex = sex;
            this.status = status;
            this.updateTime = updateTime;
            this.updateUser = updateUser;
            this.userId = userId;
//            this.version = version;
        }

        public String getAccount() {
            return account;
        }

        public void setAccount(String account) {
            this.account = account;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getBirthday() {
            return birthday;
        }

        public void setBirthday(String birthday) {
            this.birthday = birthday;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getCreateUser() {
            return createUser;
        }

        public void setCreateUser(String createUser) {
            this.createUser = createUser;
        }

        public String getData() {
            return data;
        }

        public void setData(String data) {
            this.data = data;
        }

        public String getDeptId() {
                return deptId;
        }

        public void setDeptId(String deptId) {
            if (deptId != null && !"".equals(deptId)) {
                this.deptId = deptId;
            }

        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getRoleId() {
            return roleId;
        }

        public void setRoleId(String roleId) {
            this.roleId = roleId;
        }

        public String getSalt() {
            return salt;
        }

        public void setSalt(String salt) {
            this.salt = salt;
        }

        public String getSex() {
            return sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public String getUpdateUser() {
                return updateUser;
        }

        public void setUpdateUser(String updateUser) {
            if (updateUser != null && !updateTime.equals("")) {
                this.updateUser = updateUser;
            }

        }

        public String getUserId() {
                return userId;
        }

        public void setUserId(String userId) {
            if (userId != null && !"".equals(userId)) {
                this.userId = userId;
            }
        }
//
//        public Integer getVersion() {
//            if (version != null && !version.equals("")) {
//                return version;
//            }else {
//                return 0;
//            }
//
//        }
//
//        public void setVersion(Integer version) {
//            if (version != null && !version.equals("")) {
//                this.version = version;
//            }else {
//                this.version = 0;
//            }
//
//        }

        @Override
        public String toString() {
            return "UserListDTO{" +
                    "account='" + account + '\'' +
                    ", avatar='" + avatar + '\'' +
                    ", birthday='" + birthday + '\'' +
                    ", createTime='" + createTime + '\'' +
                    ", createUser='" + createUser + '\'' +
                    ", data='" + data + '\'' +
                    ", deptId=" + deptId +
                    ", email='" + email + '\'' +
                    ", name='" + name + '\'' +
                    ", password='" + password + '\'' +
                    ", phone='" + phone + '\'' +
                    ", roleId='" + roleId + '\'' +
                    ", salt='" + salt + '\'' +
                    ", sex='" + sex + '\'' +
                    ", status='" + status + '\'' +
                    ", updateTime='" + updateTime + '\'' +
                    ", updateUser=" + updateUser +
                    ", userId=" + userId +
//                    ", version=" + version +
                    '}';
        }
    }

    public class AssetListDTO {
        private String accountant;
        private String admin;
        private String aduit;
        private String amount;
        private String area;
        private String areavalue;
        private String assetId;
        private String assetName;
        private String assetNumber;
        private String brand;
        private String company;
        private String createUser;
        private String createdate;
        private String deptId;
        private String division;
        private String financialCode;
        private String grundlagen;
        private String image;
        private String isPrint;
        private String model;
        private String place;
        private String receiver;
        private String receivesdate;
        private String remark;
        private String rfid;
        private String salvage;
        private String salvage2;
        private String source;
        private String status;
        private String supplier;
        private String team;
        private String type;
        private String typex;
        private String unit;
        private String usedate;
        private String userDept;
        private String userId;
        private String year;

        public AssetListDTO() {
        }

        public AssetListDTO(String accountant, String admin, String aduit, String amount, String area, String areavalue, String assetId, String assetName, String assetNumber, String brand, String company, String createUser, String createdate, String deptId, String division, String financialCode, String grundlagen, String image, String isPrint, String model, String place, String receiver, String receivesdate, String remark, String rfid, String salvage, String salvage2, String source, String status, String supplier, String team, String type, String typex, String unit, String usedate, String userDept, String userId, String year) {
            this.accountant = accountant;
            this.admin = admin;
            this.aduit = aduit;
            this.amount = amount;
            this.area = area;
            this.areavalue = areavalue;
            this.assetId = assetId;
            this.assetName = assetName;
            this.assetNumber = assetNumber;
            this.brand = brand;
            this.company = company;
            this.createUser = createUser;
            this.createdate = createdate;
            this.deptId = deptId;
            this.division = division;
            this.financialCode = financialCode;
            this.grundlagen = grundlagen;
            this.image = image;
            this.isPrint = isPrint;
            this.model = model;
            this.place = place;
            this.receiver = receiver;
            this.receivesdate = receivesdate;
            this.remark = remark;
            this.rfid = rfid;
            this.salvage = salvage;
            this.salvage2 = salvage2;
            this.source = source;
            this.status = status;
            this.supplier = supplier;
            this.team = team;
            this.type = type;
            this.typex = typex;
            this.unit = unit;
            this.usedate = usedate;
            this.userDept = userDept;
            this.userId = userId;
            this.year = year;
        }

        public String getAccountant() {
            return accountant;
        }

        public void setAccountant(String accountant) {
            this.accountant = accountant;
        }

        public String getAdmin() {
            return admin;
        }

        public void setAdmin(String admin) {
            this.admin = admin;
        }

        public String getAduit() {
            return aduit;
        }

        public void setAduit(String aduit) {
            this.aduit = aduit;
        }

        public String getAmount() {
                return amount;
        }

        public void setAmount(String amount) {
            if (amount != null && !"".equals(amount)) {
                this.amount = amount;
            }

        }

        public String getArea() {
            return area;
        }

        public void setArea(String area) {
            this.area = area;
        }

        public String getAreavalue() {
                return areavalue;
        }

        public void setAreavalue(String areavalue) {
            if (!"".equals(areavalue) && areavalue !=null) {
                this.areavalue = areavalue;
            }
        }

        public String getAssetId() {
            return assetId;
        }

        public void setAssetId(String assetId) {
            this.assetId = assetId;
        }

        public String getAssetName() {
            return assetName;
        }

        public void setAssetName(String assetName) {
            this.assetName = assetName;
        }

        public String getAssetNumber() {
            return assetNumber;
        }

        public void setAssetNumber(String assetNumber) {
            this.assetNumber = assetNumber;
        }

        public String getBrand() {
            return brand;
        }

        public void setBrand(String brand) {
            this.brand = brand;
        }

        public String getCompany() {
            return company;
        }

        public void setCompany(String company) {
            this.company = company;
        }

        public String getCreateUser() {
            return createUser;
        }

        public void setCreateUser(String createUser) {
            this.createUser = createUser;
        }

        public String getCreatedate() {
            return createdate;
        }

        public void setCreatedate(String createdate) {
            this.createdate = createdate;
        }

        public String getDeptId() {
            return deptId;
        }

        public void setDeptId(String deptId) {
            this.deptId = deptId;
        }

        public String getDivision() {
            return division;
        }

        public void setDivision(String division) {
            this.division = division;
        }

        public String getFinancialCode() {
            return financialCode;
        }

        public void setFinancialCode(String financialCode) {
            this.financialCode = financialCode;
        }

        public String getGrundlagen() {
            return grundlagen;
        }

        public void setGrundlagen(String grundlagen) {
            this.grundlagen = grundlagen;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getIsPrint() {
            return isPrint;
        }

        public void setIsPrint(String isPrint) {
            this.isPrint = isPrint;
        }

        public String getModel() {
            return model;
        }

        public void setModel(String model) {
            this.model = model;
        }

        public String getPlace() {
            return place;
        }

        public void setPlace(String place) {
            this.place = place;
        }

        public String getReceiver() {
            return receiver;
        }

        public void setReceiver(String receiver) {
            this.receiver = receiver;
        }

        public String getReceivesdate() {
            return receivesdate;
        }

        public void setReceivesdate(String receivesdate) {
            this.receivesdate = receivesdate;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getRfid() {
            return rfid;
        }

        public void setRfid(String rfid) {
            this.rfid = rfid;
        }

        public String getSalvage() {
                return salvage;
        }

        public void setSalvage(String salvage) {
            if (salvage != null && !"".equals(salvage)) {
                this.salvage = salvage;
            }
        }

        public String getSalvage2() {

                return salvage2;


        }

        public void setSalvage2(String salvage2) {
            this.salvage2 = salvage2;
        }

        public String getSource() {
            return source;
        }

        public void setSource(String source) {
            this.source = source;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getSupplier() {
            return supplier;
        }

        public void setSupplier(String supplier) {
            this.supplier = supplier;
        }

        public String getTeam() {
            return team;
        }

        public void setTeam(String team) {
            this.team = team;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getTypex() {
            return typex;
        }

        public void setTypex(String typex) {
            this.typex = typex;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public String getUsedate() {
            return usedate;
        }

        public void setUsedate(String usedate) {
            this.usedate = usedate;
        }

        public String getUserDept() {
            return userDept;
        }

        public void setUserDept(String userDept) {
            this.userDept = userDept;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getYear() {
                return year;
        }

        public void setYear(String year) {
            if (!"".equals(year) && year !=null) {
                this.year = year;
            }
        }

        @Override
        public String toString() {
            return "AssetListDTO{" +
                    "accountant='" + accountant + '\'' +
                    ", admin='" + admin + '\'' +
                    ", aduit='" + aduit + '\'' +
                    ", amount=" + amount +
                    ", area='" + area + '\'' +
                    ", areavalue=" + areavalue +
                    ", assetId='" + assetId + '\'' +
                    ", assetName='" + assetName + '\'' +
                    ", assetNumber='" + assetNumber + '\'' +
                    ", brand='" + brand + '\'' +
                    ", company='" + company + '\'' +
                    ", createUser='" + createUser + '\'' +
                    ", createdate='" + createdate + '\'' +
                    ", deptId='" + deptId + '\'' +
                    ", division='" + division + '\'' +
                    ", financialCode='" + financialCode + '\'' +
                    ", grundlagen='" + grundlagen + '\'' +
                    ", image='" + image + '\'' +
                    ", isPrint='" + isPrint + '\'' +
                    ", model='" + model + '\'' +
                    ", place='" + place + '\'' +
                    ", receiver='" + receiver + '\'' +
                    ", receivesdate='" + receivesdate + '\'' +
                    ", remark='" + remark + '\'' +
                    ", rfid='" + rfid + '\'' +
                    ", salvage=" + salvage +
                    ", salvage2='" + salvage2 + '\'' +
                    ", source='" + source + '\'' +
                    ", status='" + status + '\'' +
                    ", supplier='" + supplier + '\'' +
                    ", team='" + team + '\'' +
                    ", type='" + type + '\'' +
                    ", typex='" + typex + '\'' +
                    ", unit='" + unit + '\'' +
                    ", usedate='" + usedate + '\'' +
                    ", userDept='" + userDept + '\'' +
                    ", userId='" + userId + '\'' +
                    ", year=" + year +
                    '}';
        }
    }
}
